<div class="box width-small">
    <div class="box-header"><?=_("Liên kết")?></div>
    <div class="box-content">
        <ul>
            <li><a href="<?=site_url()?>"><?=_("Trang chủ")?></a></li>
            <li><a href="<?=site_url()?>"><?=_("Trang chủ")?></a></li>
            <li><a href="<?=site_url()?>"><?=_("Trang chủ")?></a></li>
            <li><a href="<?=site_url()?>"><?=_("Trang chủ")?></a></li>
            <li><a href="<?=site_url()?>"><?=_("Trang chủ")?></a></li>
        </ul>
    </div>
</div>

<div class="box width-small">
    <div class="box-header"><?=_("Thông tin thành viên");?></div>
    <div class="box-content">
    <?if(empty($user->user_id)) {?>
        <form action="<?=site_url("login")?>" method="post">
            <div class="form-field">
                <div class="label"><?=_("Tài khoản")?>:</div><div class="value"><input type="text" name="username"/></div>
            </div>
            <div class="form-field">
                <div class="label"><?=_("Mật khẩu")?>:</div><div class="value"><input type="password" name="password"/></div>
            </div>
            <center><input type="submit" value="<?=_("Đăng nhập")?>"/><input type="hidden" name="return_url" value="<?=current_url();?>" /></center>
        </form>
    <?} else {?>
        <div><?printf(_("Chào mừng <b>%s</b> đã quay trở lại!"),$user->fullname);?></div>
        <div><a class="fr" href="<?=site_url("logout");?>"><?=_("Thoát")?></a></div>
    <?}?>
    </div>
</div>

